[INFO] fetching crate rumqttc-async-std 0.5.0...
[INFO] building rumqttc-async-std-0.5.0 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate rumqttc-async-std 0.5.0 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate rumqttc-async-std 0.5.0 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rumqttc-async-std 0.5.0
[INFO] finished tweaking crates.io crate rumqttc-async-std 0.5.0
[INFO] tweaked toml for crates.io crate rumqttc-async-std 0.5.0 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate crates.io crate rumqttc-async-std 0.5.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0065e41b41ce90d4008550c6f54575e8a2edf9b9831278cb22cb4e01353b87e4
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0065e41b41ce90d4008550c6f54575e8a2edf9b9831278cb22cb4e01353b87e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0065e41b41ce90d4008550c6f54575e8a2edf9b9831278cb22cb4e01353b87e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0065e41b41ce90d4008550c6f54575e8a2edf9b9831278cb22cb4e01353b87e4", kill_on_drop: false }`
[INFO] [stdout] 0065e41b41ce90d4008550c6f54575e8a2edf9b9831278cb22cb4e01353b87e4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a568e9a15d707d5ee85224f4792814bb4b7707a4ae5bcbf10723246638abb0c0
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a568e9a15d707d5ee85224f4792814bb4b7707a4ae5bcbf10723246638abb0c0", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.60
[INFO] [stderr]    Compiling once_cell v1.5.2
[INFO] [stderr]    Compiling libc v0.2.85
[INFO] [stderr]    Compiling futures-core v0.3.12
[INFO] [stderr]    Compiling value-bag v1.0.0-alpha.6
[INFO] [stderr]    Compiling futures-io v0.3.12
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling pin-project-lite v0.2.4
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling cache-padded v1.1.1
[INFO] [stderr]    Compiling event-listener v2.5.1
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling fastrand v1.4.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling vec-arena v1.0.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling futures-sink v0.3.12
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling async-task v4.0.3
[INFO] [stderr]    Compiling atomic-waker v1.0.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling bytes v1.0.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling pollster v0.2.1
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling futures-task v0.3.12
[INFO] [stderr]    Compiling async-mutex v1.4.0
[INFO] [stderr]    Compiling async-lock v2.3.0
[INFO] [stderr]    Compiling futures-channel v0.3.12
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling futures-lite v1.11.3
[INFO] [stderr]    Compiling async-channel v1.5.1
[INFO] [stderr]    Compiling mqttbytes v0.2.1
[INFO] [stderr]    Compiling http v0.2.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.1
[INFO] [stderr]    Compiling quote v1.0.8
[INFO] [stderr]    Compiling nb-connect v1.0.2
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling async-executor v1.4.0
[INFO] [stderr]    Compiling blocking v1.0.2
[INFO] [stderr]    Compiling webpki v0.21.4
[INFO] [stderr]    Compiling sct v0.6.0
[INFO] [stderr]    Compiling webpki-roots v0.21.0
[INFO] [stderr]    Compiling ctor v0.1.19
[INFO] [stderr]    Compiling futures-macro v0.3.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.23
[INFO] [stderr]    Compiling pin-project-internal v1.0.5
[INFO] [stderr]    Compiling futures-util v0.3.12
[INFO] [stderr]    Compiling polling v2.0.2
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling rustls v0.19.0
[INFO] [stderr]    Compiling async-io v1.3.1
[INFO] [stderr]    Compiling thiserror v1.0.23
[INFO] [stderr]    Compiling async-global-executor v2.0.2
[INFO] [stderr]    Compiling pin-project v1.0.5
[INFO] [stderr]    Compiling async-std v1.9.0
[INFO] [stderr]    Compiling async-tls v0.11.0
[INFO] [stderr]    Compiling futures-executor v0.3.12
[INFO] [stderr]    Compiling futures v0.3.12
[INFO] [stderr]    Compiling rumqttc-async-std v0.5.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 53.27s
[INFO] running `Command { std: "docker" "inspect" "a568e9a15d707d5ee85224f4792814bb4b7707a4ae5bcbf10723246638abb0c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a568e9a15d707d5ee85224f4792814bb4b7707a4ae5bcbf10723246638abb0c0", kill_on_drop: false }`
[INFO] [stdout] a568e9a15d707d5ee85224f4792814bb4b7707a4ae5bcbf10723246638abb0c0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 4639f8f8f443e018dadae1e409e0dbe0ee3067c72661fb8a7d74f9c8532b02db
[INFO] running `Command { std: "docker" "start" "-a" "4639f8f8f443e018dadae1e409e0dbe0ee3067c72661fb8a7d74f9c8532b02db", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_derive v1.0.123
[INFO] [stderr]    Compiling serde v1.0.123
[INFO] [stderr]    Compiling regex-syntax v0.6.22
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling adler v0.2.3
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling serde_json v1.0.62
[INFO] [stderr]    Compiling gimli v0.23.0
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling rustc-demangle v0.1.18
[INFO] [stderr]    Compiling object v0.23.0
[INFO] [stderr]    Compiling openssl-probe v0.1.2
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling thread_local v1.1.3
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling crossbeam-channel v0.5.0
[INFO] [stderr]    Compiling rustls-native-certs v0.5.0
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling simple_asn1 v0.4.1
[INFO] [stderr]    Compiling addr2line v0.14.1
[INFO] [stderr]    Compiling regex v1.4.3
[INFO] [stderr]    Compiling backtrace v0.3.56
[INFO] [stderr]    Compiling color-backtrace v0.4.2
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling pem v0.8.2
[INFO] [stderr]    Compiling pretty_env_logger v0.4.0
[INFO] [stderr]    Compiling envy v0.4.2
[INFO] [stderr]    Compiling jsonwebtoken v7.2.0
[INFO] [stderr]    Compiling rumqttc-async-std v0.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `rumqttc`
[INFO] [stdout]  --> examples/tls.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rumqttc::{self, AsyncClient, Event, Incoming, MqttOptions, Transport};
[INFO] [stdout]   |               ^^^^ no external crate `rumqttc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> examples/tls.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rumqttc`
[INFO] [stdout]  --> examples/syncpubsub.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rumqttc::{self, Client, LastWill, MqttOptions, QoS};
[INFO] [stdout]   |               ^^^^ no external crate `rumqttc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> tests/broker.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::net::TcpListener;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> tests/broker.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::net::TcpListener;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event`
[INFO] [stdout]   --> examples/tls.rs:27:16
[INFO] [stdout]    |
[INFO] [stdout] 27 |             Ok(Event::Incoming(Incoming::Publish(p))) => {
[INFO] [stdout]    |                ^^^^^ use of undeclared type `Event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Incoming`
[INFO] [stdout]   --> examples/tls.rs:27:32
[INFO] [stdout]    |
[INFO] [stdout] 27 |             Ok(Event::Incoming(Incoming::Publish(p))) => {
[INFO] [stdout]    |                                ^^^^^^^^ use of undeclared type `Incoming`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event`
[INFO] [stdout]   --> examples/tls.rs:30:16
[INFO] [stdout]    |
[INFO] [stdout] 30 |             Ok(Event::Incoming(i)) => {
[INFO] [stdout]    |                ^^^^^ use of undeclared type `Event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event`
[INFO] [stdout]   --> examples/tls.rs:33:16
[INFO] [stdout]    |
[INFO] [stdout] 33 |             Ok(Event::Outgoing(o)) => println!("Outgoing = {:?}", o),
[INFO] [stdout]    |                ^^^^^ use of undeclared type `Event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttOptions`
[INFO] [stdout]   --> examples/tls.rs:12:28
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut mqtt_options = MqttOptions::new("test-1", "mqtt.example.server", 8883);
[INFO] [stdout]    |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rumqttc_async_std::MqttOptions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Transport`
[INFO] [stdout]   --> examples/tls.rs:21:32
[INFO] [stdout]    |
[INFO] [stdout] 21 |     mqtt_options.set_transport(Transport::tls_with_config(client_config.into()));
[INFO] [stdout]    |                                ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rumqttc_async_std::Transport;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AsyncClient`
[INFO] [stdout]   --> examples/tls.rs:23:36
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let (_client, mut eventloop) = AsyncClient::new(mqtt_options, 10);
[INFO] [stdout]    |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rumqttc_async_std::AsyncClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio`
[INFO] [stdout]  --> tests/broker.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio::select;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS`
[INFO] [stdout]  --> examples/syncpubsub.rs:9:57
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let will = LastWill::new("hello/world", "good bye", QoS::AtMostOnce, false);
[INFO] [stdout]   |                                                         ^^^ use of undeclared type `QoS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio`
[INFO] [stdout]  --> tests/broker.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::{task, time};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> tests/broker.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt};
[INFO] [stdout]    |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rumqttc`
[INFO] [stdout]   --> tests/broker.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rumqttc::{Event, Incoming, Outgoing, Packet};
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `rumqttc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `select`
[INFO] [stdout]    --> tests/broker.rs:148:9
[INFO] [stdout]     |
[INFO] [stdout] 148 |         select! {
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio`
[INFO] [stdout]  --> tests/broker.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio::select;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS`
[INFO] [stdout]   --> examples/syncpubsub.rs:27:39
[INFO] [stdout]    |
[INFO] [stdout] 27 |     client.subscribe("hello/+/world", QoS::AtMostOnce).unwrap();
[INFO] [stdout]    |                                       ^^^ use of undeclared type `QoS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS`
[INFO] [stdout]   --> examples/syncpubsub.rs:31:19
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let qos = QoS::AtLeastOnce;
[INFO] [stdout]    |                   ^^^ use of undeclared type `QoS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttOptions`
[INFO] [stdout]  --> examples/syncpubsub.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mut mqttoptions = MqttOptions::new("test-1", "localhost", 1883);
[INFO] [stdout]   |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rumqttc_async_std::MqttOptions;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LastWill`
[INFO] [stdout]  --> examples/syncpubsub.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let will = LastWill::new("hello/world", "good bye", QoS::AtMostOnce, false);
[INFO] [stdout]   |                ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 | use mqttbytes::v4::LastWill;
[INFO] [stdout]   |
[INFO] [stdout] 1 | use mqttbytes::v5::LastWill;
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rumqttc_async_std::LastWill;
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rumqttc_async_std::v5::LastWill;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client`
[INFO] [stdout]   --> examples/syncpubsub.rs:12:36
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let (client, mut connection) = Client::new(mqttoptions, 10);
[INFO] [stdout]    |                                    ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use rumqttc_async_std::Client;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio`
[INFO] [stdout]  --> tests/broker.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::{task, time};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Client` in this scope
[INFO] [stdout]   --> examples/syncpubsub.rs:26:24
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn publish(mut client: Client) {
[INFO] [stdout]    |                        ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use rumqttc_async_std::Client;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> tests/broker.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt};
[INFO] [stdout]    |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rumqttc`
[INFO] [stdout]   --> tests/broker.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rumqttc::{Event, Incoming, Outgoing, Packet};
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `rumqttc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rumqttc`
[INFO] [stdout]  --> tests/reliability.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rumqttc::*;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `rumqttc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio`
[INFO] [stdout]  --> tests/reliability.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::{task, time};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> tests/reliability.rs:58:3
[INFO] [stdout]    |
[INFO] [stdout] 58 | #[tokio::test]
[INFO] [stdout]    |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> tests/reliability.rs:81:3
[INFO] [stdout]    |
[INFO] [stdout] 81 | #[tokio::test]
[INFO] [stdout]    |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]    --> tests/reliability.rs:117:3
[INFO] [stdout]     |
[INFO] [stdout] 117 | #[tokio::test]
[INFO] [stdout]     |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]    --> tests/reliability.rs:162:3
[INFO] [stdout]     |
[INFO] [stdout] 162 | #[tokio::test]
[INFO] [stdout]     |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]    --> tests/reliability.rs:201:3
[INFO] [stdout]     |
[INFO] [stdout] 201 | #[tokio::test]
[INFO] [stdout]     |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]    --> tests/reliability.rs:231:3
[INFO] [stdout]     |
[INFO] [stdout] 231 | #[tokio::test]
[INFO] [stdout]     |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]    --> tests/reliability.rs:260:3
[INFO] [stdout]     |
[INFO] [stdout] 260 | #[tokio::test]
[INFO] [stdout]     |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]    --> tests/reliability.rs:299:3
[INFO] [stdout]     |
[INFO] [stdout] 299 | #[tokio::test]
[INFO] [stdout]     |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]    --> tests/reliability.rs:370:3
[INFO] [stdout]     |
[INFO] [stdout] 370 | #[tokio::test]
[INFO] [stdout]     |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]    --> tests/reliability.rs:417:3
[INFO] [stdout]     |
[INFO] [stdout] 417 | #[tokio::test]
[INFO] [stdout]     |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]    --> tests/reliability.rs:442:3
[INFO] [stdout]     |
[INFO] [stdout] 442 | #[tokio::test]
[INFO] [stdout]     |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]    --> tests/reliability.rs:483:3
[INFO] [stdout]     |
[INFO] [stdout] 483 | #[tokio::test]
[INFO] [stdout]     |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `select`
[INFO] [stdout]    --> tests/broker.rs:148:9
[INFO] [stdout]     |
[INFO] [stdout] 148 |         select! {
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio`
[INFO] [stdout]  --> examples/asyncpubsub.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tokio::{task, time};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rumqttc`
[INFO] [stdout]  --> examples/asyncpubsub.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rumqttc::{self, AsyncClient, Event, Incoming, MqttOptions, QoS};
[INFO] [stdout]   |               ^^^^ no external crate `rumqttc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> examples/asyncpubsub.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[tokio::main(worker_threads = 1)]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> examples/tls.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | async fn main() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rumqttc-async-std`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener`
[INFO] [stdout]   --> tests/broker.rs:26:24
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let listener = TcpListener::bind(&addr).await.unwrap();
[INFO] [stdout]    |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use async_std::net::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsyncRead` in this scope
[INFO] [stdout]    --> tests/broker.rs:303:14
[INFO] [stdout]     |
[INFO] [stdout] 303 | pub trait N: AsyncRead + AsyncWrite + Send + Sync + Unpin {}
[INFO] [stdout]     |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 1   | use futures::AsyncRead;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsyncWrite` in this scope
[INFO] [stdout]    --> tests/broker.rs:303:26
[INFO] [stdout]     |
[INFO] [stdout] 303 | pub trait N: AsyncRead + AsyncWrite + Send + Sync + Unpin {}
[INFO] [stdout]     |                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 1   | use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsyncRead` in this scope
[INFO] [stdout]    --> tests/broker.rs:304:26
[INFO] [stdout]     |
[INFO] [stdout] 304 | impl<T> N for T where T: AsyncRead + AsyncWrite + Unpin + Send + Sync {}
[INFO] [stdout]     |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 1   | use futures::AsyncRead;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsyncWrite` in this scope
[INFO] [stdout]    --> tests/broker.rs:304:38
[INFO] [stdout]     |
[INFO] [stdout] 304 | impl<T> N for T where T: AsyncRead + AsyncWrite + Unpin + Send + Sync {}
[INFO] [stdout]     |                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 1   | use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event`
[INFO] [stdout]   --> examples/asyncpubsub.rs:23:16
[INFO] [stdout]    |
[INFO] [stdout] 23 |             Ok(Event::Incoming(Incoming::Publish(p))) => {
[INFO] [stdout]    |                ^^^^^ use of undeclared type `Event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Incoming`
[INFO] [stdout]   --> examples/asyncpubsub.rs:23:32
[INFO] [stdout]    |
[INFO] [stdout] 23 |             Ok(Event::Incoming(Incoming::Publish(p))) => {
[INFO] [stdout]    |                                ^^^^^^^^ use of undeclared type `Incoming`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event`
[INFO] [stdout]   --> examples/asyncpubsub.rs:26:16
[INFO] [stdout]    |
[INFO] [stdout] 26 |             Ok(Event::Incoming(i)) => {
[INFO] [stdout]    |                ^^^^^ use of undeclared type `Event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event`
[INFO] [stdout]   --> examples/asyncpubsub.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 |             Ok(Event::Outgoing(o)) => println!("Outgoing = {:?}", o),
[INFO] [stdout]    |                ^^^^^ use of undeclared type `Event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS`
[INFO] [stdout]   --> examples/asyncpubsub.rs:40:35
[INFO] [stdout]    |
[INFO] [stdout] 40 |         .subscribe("hello/world", QoS::AtMostOnce)
[INFO] [stdout]    |                                   ^^^ use of undeclared type `QoS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS`
[INFO] [stdout]   --> examples/asyncpubsub.rs:46:37
[INFO] [stdout]    |
[INFO] [stdout] 46 |             .publish("hello/world", QoS::ExactlyOnce, false, vec![i; 1000 * 1024])
[INFO] [stdout]    |                                     ^^^ use of undeclared type `QoS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttOptions`
[INFO] [stdout]   --> examples/asyncpubsub.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut mqttoptions = MqttOptions::new("test-1", "localhost", 1883);
[INFO] [stdout]    |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use rumqttc_async_std::MqttOptions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AsyncClient`
[INFO] [stdout]   --> examples/asyncpubsub.rs:15:35
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let (client, mut eventloop) = AsyncClient::new(mqttoptions, 10);
[INFO] [stdout]    |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use rumqttc_async_std::AsyncClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AsyncClient` in this scope
[INFO] [stdout]   --> examples/asyncpubsub.rs:38:27
[INFO] [stdout]    |
[INFO] [stdout] 38 | async fn requests(client: AsyncClient) {
[INFO] [stdout]    |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use rumqttc_async_std::AsyncClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectionError`
[INFO] [stdout]   --> tests/reliability.rs:73:28
[INFO] [stdout]    |
[INFO] [stdout] 73 |     assert_matches!(o, Err(ConnectionError::Timeout(_)));
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^ use of undeclared type `ConnectionError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Packet`
[INFO] [stdout]    --> tests/reliability.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |             Packet::PingReq => {
[INFO] [stdout]     |             ^^^^^^ use of undeclared type `Packet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS`
[INFO] [stdout]    --> tests/reliability.rs:131:28
[INFO] [stdout]     |
[INFO] [stdout] 131 |         start_requests(10, QoS::AtMostOnce, 1, requests_tx).await;
[INFO] [stdout]     |                            ^^^ use of undeclared type `QoS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event`
[INFO] [stdout]    --> tests/reliability.rs:146:16
[INFO] [stdout]     |
[INFO] [stdout] 146 |         if let Event::Incoming(Incoming::PingReq) = event {
[INFO] [stdout]     |                ^^^^^ use of undeclared type `Event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Incoming`
[INFO] [stdout]    --> tests/reliability.rs:146:32
[INFO] [stdout]     |
[INFO] [stdout] 146 |         if let Event::Incoming(Incoming::PingReq) = event {
[INFO] [stdout]     |                                ^^^^^^^^ use of undeclared type `Incoming`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS`
[INFO] [stdout]    --> tests/reliability.rs:179:32
[INFO] [stdout]     |
[INFO] [stdout] 179 |     broker.spawn_publishes(10, QoS::AtMostOnce, 1).await;
[INFO] [stdout]     |                                ^^^ use of undeclared type `QoS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event`
[INFO] [stdout]    --> tests/reliability.rs:185:16
[INFO] [stdout]     |
[INFO] [stdout] 185 |         if let Event::Incoming(Incoming::PingReq) = event {
[INFO] [stdout]     |                ^^^^^ use of undeclared type `Event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Incoming`
[INFO] [stdout]    --> tests/reliability.rs:185:32
[INFO] [stdout]     |
[INFO] [stdout] 185 |         if let Event::Incoming(Incoming::PingReq) = event {
[INFO] [stdout]     |                                ^^^^^^^^ use of undeclared type `Incoming`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectionError`
[INFO] [stdout]    --> tests/reliability.rs:218:17
[INFO] [stdout]     |
[INFO] [stdout] 218 |                 ConnectionError::MqttState(StateError::AwaitPingResp) => break,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ use of undeclared type `ConnectionError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StateError`
[INFO] [stdout]    --> tests/reliability.rs:218:44
[INFO] [stdout]     |
[INFO] [stdout] 218 |                 ConnectionError::MqttState(StateError::AwaitPingResp) => break,
[INFO] [stdout]     |                                            ^^^^^^^^^^ use of undeclared type `StateError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS`
[INFO] [stdout]    --> tests/reliability.rs:242:28
[INFO] [stdout]     |
[INFO] [stdout] 242 |         start_requests(10, QoS::AtLeastOnce, 1, requests_tx).await;
[INFO] [stdout]     |                            ^^^ use of undeclared type `QoS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS`
[INFO] [stdout]    --> tests/reliability.rs:269:27
[INFO] [stdout]     |
[INFO] [stdout] 269 |         start_requests(5, QoS::AtLeastOnce, 1, requests_tx).await;
[INFO] [stdout]     |                           ^^^ use of undeclared type `QoS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS`
[INFO] [stdout]    --> tests/reliability.rs:308:27
[INFO] [stdout]     |
[INFO] [stdout] 308 |         start_requests(8, QoS::AtLeastOnce, 0, requests_tx).await;
[INFO] [stdout]     |                           ^^^ use of undeclared type `QoS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectionError`
[INFO] [stdout]    --> tests/reliability.rs:345:17
[INFO] [stdout]     |
[INFO] [stdout] 345 |             Err(ConnectionError::MqttState(StateError::Collision(1))) => break,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ use of undeclared type `ConnectionError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StateError`
[INFO] [stdout]    --> tests/reliability.rs:345:44
[INFO] [stdout]     |
[INFO] [stdout] 345 |             Err(ConnectionError::MqttState(StateError::Collision(1))) => break,
[INFO] [stdout]     |                                            ^^^^^^^^^^ use of undeclared type `StateError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event`
[INFO] [stdout]    --> tests/reliability.rs:359:16
[INFO] [stdout]     |
[INFO] [stdout] 359 |             Ok(Event::Outgoing(Outgoing::Publish(ack))) => {
[INFO] [stdout]     |                ^^^^^ use of undeclared type `Event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Outgoing`
[INFO] [stdout]    --> tests/reliability.rs:359:32
[INFO] [stdout]     |
[INFO] [stdout] 359 |             Ok(Event::Outgoing(Outgoing::Publish(ack))) => {
[INFO] [stdout]     |                                ^^^^^^^^ use of undeclared type `Outgoing`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS`
[INFO] [stdout]    --> tests/reliability.rs:382:28
[INFO] [stdout]     |
[INFO] [stdout] 382 |         start_requests(10, QoS::AtLeastOnce, 0, requests_tx).await;
[INFO] [stdout]     |                            ^^^ use of undeclared type `QoS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectionError`
[INFO] [stdout]    --> tests/reliability.rs:404:13
[INFO] [stdout]     |
[INFO] [stdout] 404 |         Err(ConnectionError::MqttState(StateError::Collision(1))) => (),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ use of undeclared type `ConnectionError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StateError`
[INFO] [stdout]    --> tests/reliability.rs:404:40
[INFO] [stdout]     |
[INFO] [stdout] 404 |         Err(ConnectionError::MqttState(StateError::Collision(1))) => (),
[INFO] [stdout]     |                                        ^^^^^^^^^^ use of undeclared type `StateError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectionError`
[INFO] [stdout]    --> tests/reliability.rs:409:13
[INFO] [stdout]     |
[INFO] [stdout] 409 |         Err(ConnectionError::MqttState(StateError::CollisionTimeout)) => (),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ use of undeclared type `ConnectionError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StateError`
[INFO] [stdout]    --> tests/reliability.rs:409:40
[INFO] [stdout]     |
[INFO] [stdout] 409 |         Err(ConnectionError::MqttState(StateError::CollisionTimeout)) => (),
[INFO] [stdout]     |                                        ^^^^^^^^^^ use of undeclared type `StateError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectionError`
[INFO] [stdout]    --> tests/reliability.rs:433:13
[INFO] [stdout]     |
[INFO] [stdout] 433 |         Err(ConnectionError::Io(e)) => assert_eq!(e.to_string(), error),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ use of undeclared type `ConnectionError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectReturnCode`
[INFO] [stdout]    --> tests/reliability.rs:438:32
[INFO] [stdout]     |
[INFO] [stdout] 438 |     let connack = ConnAck::new(ConnectReturnCode::Success, false);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^ use of undeclared type `ConnectReturnCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS`
[INFO] [stdout]    --> tests/reliability.rs:451:28
[INFO] [stdout]     |
[INFO] [stdout] 451 |         start_requests(10, QoS::AtLeastOnce, 1, requests_tx).await;
[INFO] [stdout]     |                            ^^^ use of undeclared type `QoS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS`
[INFO] [stdout]    --> tests/reliability.rs:493:28
[INFO] [stdout]     |
[INFO] [stdout] 493 |         start_requests(10, QoS::AtLeastOnce, 1, requests_tx).await;
[INFO] [stdout]     |                            ^^^ use of undeclared type `QoS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener`
[INFO] [stdout]   --> tests/broker.rs:26:24
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let listener = TcpListener::bind(&addr).await.unwrap();
[INFO] [stdout]    |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use async_std::net::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsyncRead` in this scope
[INFO] [stdout]    --> tests/broker.rs:303:14
[INFO] [stdout]     |
[INFO] [stdout] 303 | pub trait N: AsyncRead + AsyncWrite + Send + Sync + Unpin {}
[INFO] [stdout]     |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 1   | use futures::AsyncRead;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsyncWrite` in this scope
[INFO] [stdout]    --> tests/broker.rs:303:26
[INFO] [stdout]     |
[INFO] [stdout] 303 | pub trait N: AsyncRead + AsyncWrite + Send + Sync + Unpin {}
[INFO] [stdout]     |                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 1   | use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsyncRead` in this scope
[INFO] [stdout]    --> tests/broker.rs:304:26
[INFO] [stdout]     |
[INFO] [stdout] 304 | impl<T> N for T where T: AsyncRead + AsyncWrite + Unpin + Send + Sync {}
[INFO] [stdout]     |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 1   | use futures::AsyncRead;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsyncWrite` in this scope
[INFO] [stdout]    --> tests/broker.rs:304:38
[INFO] [stdout]     |
[INFO] [stdout] 304 | impl<T> N for T where T: AsyncRead + AsyncWrite + Unpin + Send + Sync {}
[INFO] [stdout]     |                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 1   | use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `QoS` in this scope
[INFO] [stdout]   --> tests/reliability.rs:10:41
[INFO] [stdout]    |
[INFO] [stdout] 10 | async fn start_requests(count: u8, qos: QoS, delay: u64, requests_tx: Sender<Request>) {
[INFO] [stdout]    |                                         ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::broker::QoS;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use mqttbytes::QoS;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use rumqttc_async_std::QoS;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope
[INFO] [stdout]   --> tests/reliability.rs:10:71
[INFO] [stdout]    |
[INFO] [stdout] 10 |   async fn start_requests(count: u8, qos: QoS, delay: u64, requests_tx: Sender<Request>) {
[INFO] [stdout]    |                                                                         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 10 | async fn start_requests(count: u8, qos: QoS, delay: u64, requests_tx: Send<Request>) {
[INFO] [stdout]    |                                                                       ^^^^
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use async_channel::Sender;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use async_std::channel::Sender;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::broker::Sender;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crossbeam_channel::Sender;
[INFO] [stdout]    |
[INFO] [stdout]      and 2 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Request` in this scope
[INFO] [stdout]   --> tests/reliability.rs:10:78
[INFO] [stdout]    |
[INFO] [stdout] 10 | async fn start_requests(count: u8, qos: QoS, delay: u64, requests_tx: Sender<Request>) {
[INFO] [stdout]    |                                                                              ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use http::Request;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use rumqttc_async_std::Request;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Publish`
[INFO] [stdout]   --> tests/reliability.rs:15:23
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let publish = Publish::new(topic, qos, payload);
[INFO] [stdout]    |                       ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::broker::Publish;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use mqttbytes::v4::Publish;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use mqttbytes::v5::Publish;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use rumqttc_async_std::Publish;
[INFO] [stdout]    |
[INFO] [stdout]      and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]   --> examples/asyncpubsub.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 |     for i in 1..=10 {
[INFO] [stdout]    |              ^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]   --> examples/asyncpubsub.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |         time::sleep(Duration::from_secs(1)).await;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]   --> examples/asyncpubsub.rs:44:18
[INFO] [stdout]    |
[INFO] [stdout] 44 |     for i in 1..=10 {
[INFO] [stdout]    |                  ^^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]   --> examples/asyncpubsub.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |         time::sleep(Duration::from_secs(1)).await;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]   --> examples/asyncpubsub.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 |     for i in 1..=10 {
[INFO] [stdout]    |              ^^^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]   --> examples/asyncpubsub.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |         time::sleep(Duration::from_secs(1)).await;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]   --> examples/asyncpubsub.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 |     for i in 1..=10 {
[INFO] [stdout]    |              ^^^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]   --> examples/asyncpubsub.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |         time::sleep(Duration::from_secs(1)).await;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]   --> examples/asyncpubsub.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     for i in 1..=10 {
[INFO] [stdout]    |         ^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]   --> examples/asyncpubsub.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |         time::sleep(Duration::from_secs(1)).await;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]   --> examples/asyncpubsub.rs:46:67
[INFO] [stdout]    |
[INFO] [stdout] 46 |             .publish("hello/world", QoS::ExactlyOnce, false, vec![i; 1000 * 1024])
[INFO] [stdout]    |                                                                   ^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]   --> examples/asyncpubsub.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | /         client
[INFO] [stdout] 46 | |             .publish("hello/world", QoS::ExactlyOnce, false, vec![i; 1000 * 1024])
[INFO] [stdout] 47 | |             .await
[INFO] [stdout]    | |__________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]   --> examples/asyncpubsub.rs:46:62
[INFO] [stdout]    |
[INFO] [stdout] 46 |             .publish("hello/world", QoS::ExactlyOnce, false, vec![i; 1000 * 1024])
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]   --> examples/asyncpubsub.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | /         client
[INFO] [stdout] 46 | |             .publish("hello/world", QoS::ExactlyOnce, false, vec![i; 1000 * 1024])
[INFO] [stdout] 47 | |             .await
[INFO] [stdout]    | |__________________^
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request`
[INFO] [stdout]   --> tests/reliability.rs:16:23
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let request = Request::Publish(publish);
[INFO] [stdout]    |                       ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use http::Request;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use rumqttc_async_std::Request;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope
[INFO] [stdout]   --> tests/reliability.rs:22:30
[INFO] [stdout]    |
[INFO] [stdout] 22 | async fn run(eventloop: &mut EventLoop, reconnect: bool) -> Result<(), ConnectionError> {
[INFO] [stdout]    |                              ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use rumqttc_async_std::EventLoop;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ConnectionError` in this scope
[INFO] [stdout]   --> tests/reliability.rs:22:72
[INFO] [stdout]    |
[INFO] [stdout] 22 | async fn run(eventloop: &mut EventLoop, reconnect: bool) -> Result<(), ConnectionError> {
[INFO] [stdout]    |                                                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  | use rumqttc_async_std::ConnectionError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope
[INFO] [stdout]   --> tests/reliability.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |     eventloop: &mut EventLoop,
[INFO] [stdout]    |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use rumqttc_async_std::EventLoop;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ConnectionError` in this scope
[INFO] [stdout]   --> tests/reliability.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 | ) -> Result<(), ConnectionError> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  | use rumqttc_async_std::ConnectionError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttOptions`
[INFO] [stdout]   --> tests/reliability.rs:66:19
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let options = MqttOptions::new("dummy", "127.0.0.1", 1880);
[INFO] [stdout]    |                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use rumqttc_async_std::MqttOptions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop`
[INFO] [stdout]   --> tests/reliability.rs:67:25
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut eventloop = EventLoop::new(options, 5);
[INFO] [stdout]    |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use rumqttc_async_std::EventLoop;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttOptions`
[INFO] [stdout]   --> tests/reliability.rs:85:23
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let mut options = MqttOptions::new("dummy", "127.0.0.1", 1885);
[INFO] [stdout]    |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use rumqttc_async_std::MqttOptions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop`
[INFO] [stdout]   --> tests/reliability.rs:90:29
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let mut eventloop = EventLoop::new(options, 5);
[INFO] [stdout]    |                             ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use rumqttc_async_std::EventLoop;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttOptions`
[INFO] [stdout]    --> tests/reliability.rs:120:23
[INFO] [stdout]     |
[INFO] [stdout] 120 |     let mut options = MqttOptions::new("dummy", "127.0.0.1", 1886);
[INFO] [stdout]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::MqttOptions;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop`
[INFO] [stdout]    --> tests/reliability.rs:126:25
[INFO] [stdout]     |
[INFO] [stdout] 126 |     let mut eventloop = EventLoop::new(options, 5);
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::EventLoop;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttOptions`
[INFO] [stdout]    --> tests/reliability.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let mut options = MqttOptions::new("dummy", "127.0.0.1", 2000);
[INFO] [stdout]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::MqttOptions;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop`
[INFO] [stdout]    --> tests/reliability.rs:170:29
[INFO] [stdout]     |
[INFO] [stdout] 170 |         let mut eventloop = EventLoop::new(options, 5);
[INFO] [stdout]     |                             ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::EventLoop;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttOptions`
[INFO] [stdout]    --> tests/reliability.rs:203:23
[INFO] [stdout]     |
[INFO] [stdout] 203 |     let mut options = MqttOptions::new("dummy", "127.0.0.1", 2001);
[INFO] [stdout]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::MqttOptions;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop`
[INFO] [stdout]    --> tests/reliability.rs:214:25
[INFO] [stdout]     |
[INFO] [stdout] 214 |     let mut eventloop = EventLoop::new(options, 5);
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::EventLoop;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttOptions`
[INFO] [stdout]    --> tests/reliability.rs:233:23
[INFO] [stdout]     |
[INFO] [stdout] 233 |     let mut options = MqttOptions::new("dummy", "127.0.0.1", 1887);
[INFO] [stdout]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::MqttOptions;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop`
[INFO] [stdout]    --> tests/reliability.rs:239:25
[INFO] [stdout]     |
[INFO] [stdout] 239 |     let mut eventloop = EventLoop::new(options, 5);
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::EventLoop;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttOptions`
[INFO] [stdout]    --> tests/reliability.rs:262:23
[INFO] [stdout]     |
[INFO] [stdout] 262 |     let mut options = MqttOptions::new("dummy", "127.0.0.1", 1888);
[INFO] [stdout]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::MqttOptions;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop`
[INFO] [stdout]    --> tests/reliability.rs:265:25
[INFO] [stdout]     |
[INFO] [stdout] 265 |     let mut eventloop = EventLoop::new(options, 5);
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::EventLoop;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttOptions`
[INFO] [stdout]    --> tests/reliability.rs:301:23
[INFO] [stdout]     |
[INFO] [stdout] 301 |     let mut options = MqttOptions::new("dummy", "127.0.0.1", 1891);
[INFO] [stdout]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::MqttOptions;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop`
[INFO] [stdout]    --> tests/reliability.rs:304:25
[INFO] [stdout]     |
[INFO] [stdout] 304 |     let mut eventloop = EventLoop::new(options, 5);
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::EventLoop;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttOptions`
[INFO] [stdout]    --> tests/reliability.rs:372:23
[INFO] [stdout]     |
[INFO] [stdout] 372 |     let mut options = MqttOptions::new("dummy", "127.0.0.1", 1892);
[INFO] [stdout]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::MqttOptions;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop`
[INFO] [stdout]    --> tests/reliability.rs:378:25
[INFO] [stdout]     |
[INFO] [stdout] 378 |     let mut eventloop = EventLoop::new(options, 5);
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::EventLoop;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttOptions`
[INFO] [stdout]    --> tests/reliability.rs:419:19
[INFO] [stdout]     |
[INFO] [stdout] 419 |     let options = MqttOptions::new("dummy", "127.0.0.1", 3000);
[INFO] [stdout]     |                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::MqttOptions;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop`
[INFO] [stdout]    --> tests/reliability.rs:428:25
[INFO] [stdout]     |
[INFO] [stdout] 428 |     let mut eventloop = EventLoop::new(options, 5);
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::EventLoop;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnAck`
[INFO] [stdout]    --> tests/reliability.rs:438:19
[INFO] [stdout]     |
[INFO] [stdout] 438 |     let connack = ConnAck::new(ConnectReturnCode::Success, false);
[INFO] [stdout]     |                   ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use crate::broker::ConnAck;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use mqttbytes::v4::ConnAck;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use mqttbytes::v5::ConnAck;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::ConnAck;
[INFO] [stdout]     |
[INFO] [stdout]       and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event`
[INFO] [stdout]    --> tests/reliability.rs:439:23
[INFO] [stdout]     |
[INFO] [stdout] 439 |     assert_eq!(event, Event::Incoming(Packet::ConnAck(connack)));
[INFO] [stdout]     |                       ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::Event;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Packet`
[INFO] [stdout]    --> tests/reliability.rs:439:39
[INFO] [stdout]     |
[INFO] [stdout] 439 |     assert_eq!(event, Event::Incoming(Packet::ConnAck(connack)));
[INFO] [stdout]     |                                       ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use crate::broker::Packet;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use mqttbytes::v4::Packet;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use mqttbytes::v5::Packet;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::Packet;
[INFO] [stdout]     |
[INFO] [stdout]       and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttOptions`
[INFO] [stdout]    --> tests/reliability.rs:444:23
[INFO] [stdout]     |
[INFO] [stdout] 444 |     let mut options = MqttOptions::new("dummy", "127.0.0.1", 3001);
[INFO] [stdout]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::MqttOptions;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop`
[INFO] [stdout]    --> tests/reliability.rs:448:25
[INFO] [stdout]     |
[INFO] [stdout] 448 |     let mut eventloop = EventLoop::new(options, 5);
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::EventLoop;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttOptions`
[INFO] [stdout]    --> tests/reliability.rs:485:23
[INFO] [stdout]     |
[INFO] [stdout] 485 |     let mut options = MqttOptions::new("dummy", "127.0.0.1", 3002);
[INFO] [stdout]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::MqttOptions;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop`
[INFO] [stdout]    --> tests/reliability.rs:490:25
[INFO] [stdout]     |
[INFO] [stdout] 490 |     let mut eventloop = EventLoop::new(options, 5);
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rumqttc_async_std::EventLoop;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> examples/asyncpubsub.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | async fn main() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 87 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 20 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0698, E0752.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "4639f8f8f443e018dadae1e409e0dbe0ee3067c72661fb8a7d74f9c8532b02db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4639f8f8f443e018dadae1e409e0dbe0ee3067c72661fb8a7d74f9c8532b02db", kill_on_drop: false }`
[INFO] [stdout] 4639f8f8f443e018dadae1e409e0dbe0ee3067c72661fb8a7d74f9c8532b02db
